package com.youkeyi.ddy.cloud.common.api.basic.hr.employee.compensation;

import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.compensation.dto.HrEmployeeCompensationBenefitsListCloudDto;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.compensation.param.HrEmployeeCompensationBenefitsCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.compensation.param.HrEmployeeCompensationBenefitsDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.compensation.param.HrEmployeeCompensationBenefitsQueryCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.compensation.param.HrEmployeeCompensationBenefitsUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * HrEmployeeCompensationBenefitsCloudServiceFallback
 *
 * @author  liuxiawang
 * @Date 2024/2/19 2:32 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/hr/employee/compensation/benefits/fallback")
public class HrEmployeeCompensationBenefitsCloudServiceFallback implements HrEmployeeCompensationBenefitsCloudService {

    @Override
    public HrEmployeeCompensationBenefitsListCloudDto query(HrEmployeeCompensationBenefitsQueryCloudParam param) {
        return new HrEmployeeCompensationBenefitsListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(HrEmployeeCompensationBenefitsCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(HrEmployeeCompensationBenefitsUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(HrEmployeeCompensationBenefitsDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
